package com.lmk.mkcc.mapper;

import com.lmk.mkcc.domain.Course;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.lmk.mkcc.domain.Teacher;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kun
 * @since 2022-09-30
 */
public interface CourseMapper extends BaseMapper<Course> {

    void AddCourseTeacher(@Param("courseId") Long courseId,@Param("teacherIds") List<Long> teacharIds);

    void updatypecount(Long courseTypeId);

    List<Teacher> getTeacherByCourseId(Long courseId);
}
